package com.kotlin.usermodel.injection.component

import com.kotlin.baselibrary.injection.PerComponentScope
import com.kotlin.baselibrary.injection.component.ActivityComponent
import com.kotlin.usermodel.injection.module.UserModule
import com.kotlin.usermodel.ui.activity.RegisterActivity
import dagger.Component

/**
 * @author       zhipe
 * @createTime    2020/10/13
 * @description
 */
@PerComponentScope
@Component(modules = [UserModule::class], dependencies = [ActivityComponent::class])
interface UserComponent {
    fun inject(activity: RegisterActivity)
}